package com.example.myFirstWebmagic.waterReport;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * 
 * ClassName: WaterStationPK 
 * @Description: 水质监测站的主键
 * @author xiongyao
 * @date 2017年3月6日
 */
@Embeddable
public class WaterStationPK implements Serializable{

	/**
	 * @Fields serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 监测站名称
	 */
	@Column(nullable=false)
	private String stationName;
	/**
	 * 监测日期
	 */
	@Column(nullable=false)
	private String date;
	
	/**
	 * 监测小时
	 */
	@Column(nullable=false)
	private String time;

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public WaterStationPK() {
		
	}
	
	
}
